var log = console.log.bind(console)

var input = document.querySelector("#id-iscare")
var div = document.querySelector("#id--care-ll")
var message = document.querySelector(".btn.btn-danger")
var m = input.value;
log(m)
if (m == 1) {
    log("进来了")
    message.remove()
    div.insertAdjacentHTML('afterBegin', '<a class="btn btn-danger" type="button">已关注</a>')
}